//
//  HWXiaoXiCenzhongxingViewController.m
//  HWanGame
//
//  Created by 陈道斌 on 2021/1/28.
//  Copyright © 2021 Chendaobin. All rights reserved.
//

#import "HWXiaoXiCenzhongxingViewController.h"

@interface HWXiaoXiCenzhongxingViewController ()
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *shijianLabel;
@property (weak, nonatomic) IBOutlet UILabel *neirongLabel;
@property (weak, nonatomic) IBOutlet UIView *beijingyang;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *leigaosuanyixia;

@end

@implementation HWXiaoXiCenzhongxingViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.beijingyang.layer.masksToBounds = YES;
    self.beijingyang.layer.cornerRadius = 15;
    self.beijingyang.backgroundColor = [UIColor whiteColor];
    self.navigationItem.title = self.model.name;
    
    
    self.nameLabel.text = self.model.name;
    self.shijianLabel.text = self.model.time;
    self.neirongLabel.text = self.model.content;
    NSLog(@"%@",self.neirongLabel);
    
     
    

    self.leigaosuanyixia.constant = self.neirongLabel.bottom+10;
    
    
    
    
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
